/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.base.db.dao;

import com.yunhoo.base.model.Economic;
import com.yunhoo.base.model.Economic;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 *
 * @author Administrator
 */
public interface EconomicDao {

    public void insert(Economic param) throws SQLException;

    public void update(Economic param) throws SQLException;

    public void updateIsEnd(Economic param) throws SQLException;

    public void delete(Economic param) throws SQLException;

    public void deleteById(Economic param) throws SQLException;

    public Economic queryById(Economic param) throws SQLException;

    public List<Economic> queryAll(Economic param) throws SQLException;

    public List<Economic> directSubNodes(Economic param) throws SQLException;

    public Economic nameRepeatForInsert(Economic param) throws SQLException;

    public Economic nameRepeatForUpdate(Economic param) throws SQLException;

    public List<Economic> queryListByOrgAndYear(Economic param) throws SQLException;
}
